extends MoveStateResource


class_name TimedStateResource


## 状态的最大持续时间
@export var max_duration: float = 1.0


func update(ctrl: MoveController, data: Dictionary, delta: float, duration: float) -> bool:
    if duration >= max_duration:
        return true
    return false
